package com.example.JcGQS.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "store")
public class StoreSystemConfig {
    
    private String host;
    
    private int port;
    
    private Url url;
    
    public String getHost() {
        return host;
    }
    
    public void setHost(String host) {
        this.host = host;
    }
    
    public int getPort() {
        return port;
    }
    
    public void setPort(int port) {
        this.port = port;
    }
    
    public Url getUrl() {
        return url;
    }
    
    public void setUrl(Url url) {
        this.url = url;
    }
    
    public static class Url {
        
        private String storeFloor;

        private String checkFloor;

        private String clothComplete;
        
        private String cancelFloor;

        private String getVarietyName;

        public String getGetVarietyName() {
            return getVarietyName;
        }

        public void setGetVarietyName(String getVarietyName) {
            this.getVarietyName = getVarietyName;
        }

        public String getStoreFloor() {
            return storeFloor;
        }
        
        public void setStoreFloor(String storeFloor) {
            this.storeFloor = storeFloor;
        }

        public String getCheckFloor() {
            return checkFloor;
        }

        public void setCheckFloor(String checkFloor) {
            this.checkFloor = checkFloor;
        }

        public String getClothComplete() {
            return clothComplete;
        }
        
        public void setClothComplete(String clothComplete) {
            this.clothComplete = clothComplete;
        }
        
        public String getCancelFloor() {
            return cancelFloor;
        }
        
        public void setCancelFloor(String cancelFloor) {
            this.cancelFloor = cancelFloor;
        }
    }
    
    
}
